package site.wanjiahao.message.request;

import lombok.Data;
import lombok.NoArgsConstructor;
import site.wanjiahao.message.Message;

@Data
@NoArgsConstructor
public class LoginRequestMessage extends Message {


    private String username;

    private String password;


    public LoginRequestMessage(String username, String password) {
        this.username = username;
        this.password = password;
    }

    @Override
    public int getMessageType() {
        return LOGIN_REQUEST_ID;
    }
}
